data:
	mkdir --parents data

        # Download data
	wget --output-document stations.json \
	     http://www.radio-browser.info/webservice/json/stations
	
	# Convert JSON to JSON-LD
	jq --argfile graph stations.json \
	   '."@graph" = $$graph' \
	   ../../vocab.json \
	   > data/stations.jsonld

clean:
	rm -rf data/ *.nt *.hdt *.hdt.index.v* stations.json

.PHONY: clean
